<?php

namespace App\forms\notes;

use App\forms\BaseForm;
use App\forms\ShareOnMastodon;
use App\models;
use Minz\Form;
use Minz\Request;

/**
 * @extends BaseForm<models\Note>
 *
 * @author  Marien Fressinaud <dev@marienfressinaud.fr>
 * @license http://www.gnu.org/licenses/agpl-3.0.en.html AGPL
 */
class NewNote extends BaseForm
{
    use ShareOnMastodon;

    #[Form\Field(transform: 'trim')]
    public string $content = '';
}
